import logging

logger = logging.getLogger('sms')

def log_sms_error(phone: str, error: str) -> None:
    """记录短信发送错误"""
    logger.error(f"SMS send failed - phone: {phone}, error: {error}")